package StringExercise;

public class length {
    public static void main(String[] args) {
        String str = "123456789";
        System.out.println("字符串的长度为"+str.length());

        String str1 = "Cygames";
        System.out.println(str1.length());
    }
}
